package demo2;

/**
 * @Author 12629
 * @Description：
 */
public class TestDemo {
    public static void main(String[] args) {
        Cat cat = new Cat("小花",4);
        System.out.println("======");

        Cat cat2 = new Cat("小花",4);



        //final int a = 10;
        //a = 20;

        /**/
        final int[] array = new int[]{1,2,3};
        //array = new int[]{11,12,13}; // 1
        array[0] = 199; // 2

    }
    public static void main1(String[] args) {
        Cat cat = new Cat("小花",4);
        cat.eat();
        cat.mimi();

        System.out.println("=====");

        Dog dog = new Dog("旺财",3);
        dog.eat();

        dog.wag();

    }
}
